package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-04-23 20:18:54 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="evaluate")
public class Evaluate {


	@Id
   @Column(name = "id" )
	private int id;

   @Column(name = "chance" )
	private int chance;

   @Column(name = "consumer_name" )
	private String consumerName;

   @Column(name = "content" )
	private String content;

   @Column(name = "date" )
	private LocalDateTime date;

   @Column(name = "level" )
	private int level;

   @Column(name = "shop_id" )
	private int shopId;

   @Column(name = "product_id" )
	private int productId;

   @Column(name = "order_id" )
	private int orderId;

}
